package com.cnap.model.schedule;

import com.cnap.model.schedule.engine.EngineClusterInfo;
import com.cnap.model.schedule.engine.VmModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 添加调度策略的响应
 *
 * @author xc
 **/
@ApiModel
public class AddScheduleStrategyRes {
    // 服务id
    @ApiModelProperty(value = "服务id")
    private String svcId;
    // 虚机信息
    @ApiModelProperty(value = "虚机信息")
    private List<VmModel> vms;
    // 集群信息
    private List<EngineClusterInfo> clusterInfos;

    /**
     * get
     *
     * @return SvcId
     */
    public String getSvcId() {
        return svcId;
    }

    /**
     * set
     *
     * @param svcId svcId
     */
    public void setSvcId(String svcId) {
        this.svcId = svcId;
    }

    /**
     * get
     *
     * @return Vms
     */
    public List<VmModel> getVms() {
        return vms;
    }

    /**
     * set
     *
     * @param vms vms
     */
    public void setVms(List<VmModel> vms) {
        this.vms = vms;
    }

    /**
     * get
     *
     * @return ClusterInfos
     */
    public List<EngineClusterInfo> getClusterInfos() {
        return clusterInfos;
    }

    /**
     * set
     *
     * @param clusterInfos clusterInfos
     */
    public void setClusterInfos(List<EngineClusterInfo> clusterInfos) {
        this.clusterInfos = clusterInfos;
    }
}
